package com.one.group.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ContractInsertDto {
    private String carNumber;
    private Long parkingSpaceId;
    private Long id;
    private String contractNumber;
    private String tenantName;
    private String tenantContract;
    private Integer contractStatus;
    private Integer leaseTerm;
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "GMT")
    private Date signDate;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "GMT")
    private Date endDate;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "GMT")
    private Date startDate;
    private BigDecimal deposit;
    private BigDecimal agencyFee;
    private BigDecimal totalRent;
    private String remark;
    private String tenantPhone;
}
